package com.gy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gy.entity.result.Publication;
import com.gy.result.Result;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PublicationMapper extends BaseMapper<Publication> {
    Publication selectPublicationById(Long id);
    int updatePublication(Publication publication);

    boolean savePublication(Publication publication);

    List<Publication> selectPublicationBatchIds(List<Long> list);
}
